﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="Reporting.aspx.cs" Inherits="AssignmentSWEN3.Reporting" %>
<%@ Register assembly="Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" namespace="Microsoft.Reporting.WebForms" tagprefix="rsweb" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .auto-style14
        {
            font-size: xx-large;
        }
        .auto-style15
        {
            font-size: large;
            color: #FFCC00;
            background-color: #666666;
        }
        .auto-style16
        {
            font-size: large;
            color: #000000;
            background-color: #999999;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
    <p>
        <asp:Button ID="Button2" runat="server" CssClass="auto-style15" Height="40px" OnClick="Button2_Click" Text="Staff Management" Width="170px" />
    </p>
    <asp:Button ID="Button3" runat="server" CssClass="auto-style15" Height="40px" OnClick="Button3_Click" Text="Room Management" Width="170px" />
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <strong><span class="auto-style14">Reporting</span></strong><br />
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <span class="auto-style16">Staff</span><br class="auto-style15" />
    <rsweb:ReportViewer ID="ReportViewer1" runat="server" Font-Names="Verdana" Font-Size="8pt" Height="174px" WaitMessageFont-Names="Verdana" WaitMessageFont-Size="14pt" Width="802px">
        <LocalReport ReportPath="ReportHotel.rdlc">
            <DataSources>
                <rsweb:ReportDataSource DataSourceId="ObjectDataSource1" Name="DataSet1" />
            </DataSources>
        </LocalReport>
    </rsweb:ReportViewer>
    <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="AssignmentSWEN3.App_Code.DataSetHotelTableAdapters.ViewStaffTableAdapter"></asp:ObjectDataSource>
    <br />
    <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="View Room Check-in" />
    <br />
</asp:Content>
